# coding = utf-8

from django.urls import path
from rest_framework.routers import DefaultRouter

from .mobile_views import MobileCustomerViewSet, MobileCustSuppClassListView, MobileStoreHouseListView, MobileAccountTitleListView

router = DefaultRouter()
# 后台
router.register(r'm_customer', MobileCustomerViewSet, basename="api-mobile-customer")


urlpatterns = [
    # 编码
    path('m_customer_class/', MobileCustSuppClassListView.as_view(), name="api-customer-class"),
    path('m_store_house/', MobileStoreHouseListView.as_view(), name="api-store-house"),
    path('m_account_title/', MobileAccountTitleListView.as_view(), name="api-account-title-list"),


]
urlpatterns += router.urls
